this._shownTemporarily = false; // showTemporarily() and not hideTemporarily()
this._modal = false; // have a modal grab
this.animationInProgress = false;
- this._hideInProgress = false;
+ this.visibleTarget = false;
// During transitions, we raise this to the top to avoid having the overview
// area be reactive; it causes too many issues such as double clicks on
this.visible = true;
this.animationInProgress = true;
+ this.visibleTarget = true;
// All the the actors in the window group are completely obscured,
// hiding the group holding them while the Overview is displayed greatly
return;
this.animationInProgress = true;
- this._hideInProgress = true;
+ this.visibleTarget = false;
this._viewSelector.zoomFromOverview();
this.visible = false;
this.animationInProgress = false;
- this._hideInProgress = false;
this._coverPane.hide();
// actors will be made visible again when entering the overview
// next time, and animating them while doing so is just
// unnecessary noise
- if (!Main.overview.visible)
+ if (!Main.overview.visible ||
+ (Main.overview.animationInProgress && !Main.overview.visibleTarget))
return;
let activePage = this._viewSelector.getActivePage();